home *** CD-ROM | disk | FTP | other *** search
/ The Other Thing / The Other Thing.iso / SURF / SURF.EXE / X / 303 < prev    next >
Text File  |  1996-08-14  |  4KB  |  241 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header {
  129.  1;
  130.  0;
  131.  1;
  132. }
  133.  
  134. Mesh {
  135.  10;
  136.  16.837492;53.392918;-1.432998;,
  137.  14.991937;19.250183;-2.878408;,
  138.  28.833588;-9.355894;-4.669732;,
  139.  -32.069672;-9.355894;-4.669732;,
  140.  -13.614141;24.786842;-2.596357;,
  141.  16.837492;53.392914;1.204658;,
  142.  14.991937;19.250175;2.650068;,
  143.  28.833588;-9.355902;4.441391;,
  144.  -32.069672;-9.355902;4.441391;,
  145.  -13.614141;24.786835;2.368016;;
  146.  
  147.  16;
  148.  3;1,4,0;,
  149.  3;4,2,3;,
  150.  3;4,1,2;,
  151.  3;0,6,1;,
  152.  3;0,5,6;,
  153.  3;1,7,2;,
  154.  3;1,6,7;,
  155.  3;2,8,3;,
  156.  3;2,7,8;,
  157.  3;3,9,4;,
  158.  3;3,8,9;,
  159.  3;4,5,0;,
  160.  3;4,9,5;,
  161.  3;9,6,5;,
  162.  3;7,9,8;,
  163.  3;6,9,7;;
  164.  
  165.  MeshMaterialList {
  166.   1;
  167.   1;
  168.   0;;
  169.   Material {
  170.    0.478431;0.478431;0.478431;1.000000;;
  171.    15.000000;
  172.    1.000000;1.000000;1.000000;;
  173.    0.000000;0.000000;0.000000;;
  174.   }
  175.  }
  176.  MeshNormals {
  177.   30;
  178.   -0.001647;0.042385;-0.999100;,
  179.   0.998542;-0.053975;-0.000000;,
  180.   -0.684675;0.728848;0.000001;,
  181.   0.000421;0.053044;-0.998592;,
  182.   0.998542;-0.053975;-0.000000;,
  183.   0.900159;0.435561;0.000000;,
  184.   0.001244;0.062156;-0.998066;,
  185.   0.900159;0.435561;0.000000;,
  186.   0.000000;-1.000000;-0.000001;,
  187.   0.000000;0.060615;-0.998161;,
  188.   0.000000;-1.000000;-0.000001;,
  189.   -0.879707;0.475517;0.000000;,
  190.   0.000280;0.055568;-0.998455;,
  191.   -0.879707;0.475517;0.000000;,
  192.   -0.684675;0.728848;0.000001;,
  193.   0.998542;-0.053975;-0.000000;,
  194.   -0.684675;0.728848;0.000001;,
  195.   -0.001647;0.042385;0.999100;,
  196.   0.998542;-0.053975;-0.000000;,
  197.   0.900159;0.435561;0.000001;,
  198.   0.000421;0.053044;0.998592;,
  199.   0.900159;0.435561;0.000000;,
  200.   -0.000000;-1.000000;-0.000001;,
  201.   0.001244;0.062156;0.998066;,
  202.   0.000000;-1.000000;-0.000001;,
  203.   -0.879707;0.475517;0.000000;,
  204.   0.000000;0.060615;0.998161;,
  205.   -0.879707;0.475517;0.000000;,
  206.   -0.684675;0.728848;0.000001;,
  207.   0.000280;0.055568;0.998455;;
  208.  
  209.   16;
  210.   3;3,12,0;,
  211.   3;12,6,9;,
  212.   3;12,3,6;,
  213.   3;1,18,4;,
  214.   3;1,15,18;,
  215.   3;5,21,7;,
  216.   3;5,19,21;,
  217.   3;8,24,10;,
  218.   3;8,22,24;,
  219.   3;11,27,13;,
  220.   3;11,25,27;,
  221.   3;14,16,2;,
  222.   3;14,28,16;,
  223.   3;29,20,17;,
  224.   3;23,29,26;,
  225.   3;20,29,23;;
  226.  }
  227.  MeshTextureCoords {
  228.   10;
  229.   0.000000;0.000000;,
  230.   0.000000;0.000000;,
  231.   0.000000;0.000000;,
  232.   0.000000;0.000000;,
  233.   0.000000;0.000000;,
  234.   0.000000;0.000000;,
  235.   0.000000;0.000000;,
  236.   0.000000;0.000000;,
  237.   0.000000;0.000000;,
  238.   0.000000;0.000000;;
  239.  }
  240. }
  241.